body {
  background-color: #e2e8f0;
  color: #1a202c;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5vh;
}

.heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2d3748;
}

.api-key-input-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.api-key-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #4a5568;
}

.api-key-input {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.api-key-input:focus {
  border-color: #3182ce;
}

.action-button {
  background-color: #3182ce;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  margin-bottom: 2rem;
  cursor: pointer;
  border: none;
  outline: none;
}

.action-button:hover {
  background-color: #2b6cb0;
  transform: translateY(-2px);
}

.action-button.disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
}

#steps {
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid #e2e8f0;
  background-color: #edf2f7;
  border-radius: 8px;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.step.in-progress {
  background-color: #fff3cd;
  border-color: #ffecb5;
}

.step.error {
  background-color: #fde2e1;
  border-color: #f8d7da;
}

.step-icon-placeholder {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #4a5568;
}

.step-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #4a5568;
}

.error-message {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.all-done-message {
  font-size: 1.25rem;
  font-weight: 700;
  color: #48bb78;
  margin-top: 2rem;
}

.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInOut 3s;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px) translateX(-50%);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
  100% {
    opacity: 0;
    transform: translateY(20px) translateX(-50%);
  }
}

.footer {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  color: #4a5568;
  padding: 1rem 0;
  background-color: #fff;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.footer-links a {
  color: #3182ce;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
  color: #2b6cb0;
}
